home *** CD-ROM | disk | FTP | other *** search
- -------------------------------------------------------------------------------
-
- MultiBox (Kick >2.04 only!)
-
- -------------------------------------------------------------------------------
-
- (c) 1992 by Michael Watzl
- freely distributable
-
- This little program is freeware, you can copy it as long as you don't make any
- profit.
-
- I often use neat tools like "Requester" (from Stefan Sticht, AmigaLibDisk 497)
- or others. But sometimes you have to click more than one gadget at one time
- e.g. if you want to ask for some options in a script. And this is exactly what
- multibox does:
-
- You can select multiple choices and then click OK (or press RETURN). Multibox
- then returns a value indicating which option has been set and which not.
-
- Syntax:
-
- multibox [HAIL hailstring] TITLE titlestring BOXES Box1|Box2...
-
-
- hailstring optional
-
- titlestring contains the question for the user
-
- Box1, Box2,... strings for the CHECKBOX gadgets
- look in the example scripts!
-
- A gadget can be made checked by default, if you add a '_' to the string
- (e.g. ... BOXES FFS|NOICONS_ ).
-
- Structure of the return code:
-
- EXAMPLE
-
- CHECKBOX-Nr. "CHECKSTATUS" VALUE
-
- 1 ON 1 * 2^0
- 2 OFF 0 * 2^1
- 3 ON 1 * 2^2
- 4 ON 1 * 2^3
- -----------------------------------------------
- RETURN CODE: 15
-
- YOU MUST SET THE FAILAT VALUE TO 65537 BEFORE; OR YOUR SCRIPT MAY BREAK!
-
- Beware: If you press cancel, the RC will be 65536!
-
- Look into the example scripts how to decode this from within a scrtipt.
-
- That's all
- --------------------------------------------------------------------------
-
- Michael Watzl
- Konradstr. 11
- 8850 Donauwoerth
-
- GERMANY
-
-
- Support shareware!
-